import { createApp } from 'vue';
import App from './App.vue';
import 'amfe-flexible';
import 'default-passive-events';   //违反：没有添加被动事件监听器来阻止'whell’事件，请考虑添加事件管理者’passive’，以使页面如德芙般丝滑，解决该问题
import '@/utils/browserPatch';
import router from './router';
import store from './store';
import moment from 'moment';

import './styles/global_style.css'; //全局样式

moment.locale('zh-cn');
const app = createApp(App);

app.config.globalProperties.$moment = moment;
app.use(router);
app.use(store);

app.mount('#app');
